package com.cszjzx.member.dao;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import com.cszjzx.member.po.Department;

public interface DepartmentDAO {
    void add(Department d) throws SQLException; 
    
    void delete(int id) throws SQLException;  
    
    public List<Department> findAll() throws ClassNotFoundException, SQLException, IOException; 
    
    public int getDepartmentId(String department) throws ClassNotFoundException, SQLException, IOException;
}
